from api import create_app, db
from api import models
from flask_migrate import Migrate
from api.celery.celery import celery_init_app

app = create_app('develop')

# 异步任务
celery = celery_init_app(app)

Migrate(app, db)

if __name__ == '__main__':
    app.run()
